package com.star.uc.infras.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * sa-token配置
 *
 * @author zhouhengzhe
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "sa-token")
public class SaTokenProperties {

    /**
     * 拦截url
     */
    private List<String> interceptUrlList;

    /**
     * 开放url
     */
    private List<String> openUrlList;

    /**
     * 生产uid的类型
     */
    private String generatorUidType;
    /**
     * 密码加密方式
     */
    private String passwordType;

}
